
export default {
  data() {
    return {
      fieldList: [
        { name: '姓名', field: 'field1' },
        { name: '当前职位', field: 'field2' },
        { name: '供应商', field: 'field3' },
        { name: '供应商编号', field: 'field4' },
      ],
      isEnum: {
        '0': '否',
        '1': '是',
      },
      isOption: [
        { label: '否', value: '0' },
        { label: '是', value: '1' },
      ],

      columns: [
        { title: '序号', width: 50, customRender: (text, record, index) => `${index + 1}`, align: 'center', },
        { title: '启用状态', dataIndex: 'isUse', width: 100, scopedSlots: { customRender: 'isUse' }, ellipsis: true },
        { title: '推送频次', dataIndex: 'pushTime', width: 100, ellipsis: true },
        { title: '风险监控模型', dataIndex: 'riskMonitoringModel', width: 200, ellipsis: true },
        { title: '监控范围', dataIndex: 'monitoringRange', width: 300 },
        { title: '时间范围', dataIndex: 'timeRange', width: 180, scopedSlots: { customRender: 'timeRange' }, ellipsis: true },
        { title: '监控供应商', dataIndex: 'monitoringSupplier', width: 300 },
        { title: '风险监控模型编号', dataIndex: 'riskMonitoringModelCode', width: 150, ellipsis: true },
        { title: '创建人', dataIndex: 'createPerson', width: 100, ellipsis: true },
        { title: '创建时间', dataIndex: 'createTime', width: 120, scopedSlots: { customRender: 'date' }, ellipsis: true },
        { title: '更新时间', dataIndex: 'updateTime', width: 120, scopedSlots: { customRender: 'date' }, ellipsis: true },
        { title: '操作', dataIndex: 'action', width: 100, align: 'center', fixed: 'right', scopedSlots: { customRender: 'action' } }
      ]
    }
  }
}